RenameTo rule - fixed bug where replacement value is none.