Added checking of rules against nagios state