Fixes #8030 - allow UDP port binds for ruby net package

(cherry picked from commit d35fadaa69e8f2001499714716d6b533c2f6edad)
Fixes #8241 - added rules for local sockets libvirt connections

(cherry picked from commit e2863e47887ae3a958fe1141290d1eef9c433465)