Multi instance rewrite