rule to change simple name for rewrite code based on original one