Adding rewrite rules to the proxy config