Using port 0 in firewall rules means any port. The 0.0.0.0/8 addresses means any/all IPv4 addresses, so your first logging rule is why you are seeing logged allowed connections.
Port 0 and network security
Network traffic sent over the Internet to hosts listening on port 0 can be generated by network attackers or accidentally by incorrectly programmed applications. Reply messages generated by hosts in response to port 0 traffic can help hackers learn more about the behavior and potential network vulnerabilities of these devices.
Many Internet Service Providers (ISPs) block port 0 traffic (incoming and outgoing messages) to guard against these exploits.