firewall: fix logging rule regression (#12999)