added urlparam fallback and rewrite the filterrule