Fix a legacy rewrite rule