extra functions for ipv4/ipv6-only rules
nicer output
trying to figure out what the config file should contain