Best practices using url rewriter Bloomreach 14 headless

We discovered that the rules we add in the content Url rewriter folder are not working the same as when we add them in the content at the same place as where the page is in the structure. In the content we match them with the content name and then we get the urlfrom and urlto in the resourceapi.

Is there a way we can still put them in the Url rewriter folder and get back the ulrfrom and urlto?
Or is there an other best practice for this?