Add rewrite rule.