Add the ability to add rewrite rules