Also we should for null value of ipAddress and ruleType