Rewrite forwards requests if a rule matches. Filters are only applied to forwarded requests if you set <dispatcher>FORWARD</dispatcher> in the filter configuration. So either move the other filters in front of the rewrite filter (so they get executed before the request is forwarded) or change add <dispatcher>FORWARD</dispatcher> to the filter configuration.
Do you play Magic?
Get TopDecked MTG, the #1 Magic App, built by players, for players. Free to use, forever.