Separate common replace rules into external file.