add missing rewrite rules