Added rewrite rules for new web UI