Due to the location of the enforcement rateliming queues and the current simple matching approach, local download traffic receives the same ratelimiting as remote downloading traffic when ratelimiting is enabled, and local traffic which does not leave the routing host is not ratelimited at all if a ratelimit is configured.
Addressing this will require a pretty large change to the ratelimiting architecture to correctly classify and police/limit all 4 types of traffic UL/DL X Backhaul/Local.