change rewrite rules