refine URLRewriteFilter