Remove the legacy firewall, and use the FreePBX Firewall, which automatically manages all firewall rules.