find rules matching criterias