Add REWRITE_WITH_LOCATION