In order to correctly detect the duplicated rules, the IP protocol's ports adjustment needs to take place earlier in the process