Changed rename rule to take a dictionary from the YAML config file instead of a string that would be parsed