Fix ip_version in rule resource