modify the remappings rules