Apply generalizing renaming