Rewrite rules can now be defined inside controllers