Yes this is good idea since currently it only ever needs to replace one occurrence but that may not be the case if the rule generation changes.