Instantiate $rewrite