redefine rewrite rule