refine urlrewrite filter