Add support for custom IP versions from the user

Let the user whether to create ruels for IPV4, IPV6, or both.

Default to both.