Fix RewriteRules not added