Compelely move and rename the constants according to a rule