external replace rule sets