<direction> is one of the options:
in – Inbound traffic.
out – Outbound traffic.
<ip_mask> is the combination of the IP address and subnet mask values (or prefix length), which are separated with a slash. For example, 192.168.94.222/24.
<rule_number> is the number of the existing rule you want to delete.