More or less cherry-picking iptables dist-git commit 56179d2 ("Enable gating for iptables on rhel10."). There are no tests in the referenced repo though.
Also adjust gating.yaml content for RHEL-10.