Fix ip_version in rule resource

This PR fixes problems we experienced while trying to set `node['iptables-ng']['enabled_ip_versions'] = 4`:
- The manager.rb change is needed in order to iterate over a single Integer value
- The rules.rb change adds consistency in handling the input as an array

P.S. Thanks for the very useful cookbook