Added new function to search for a rule by its comment.