Added a utility method to the rules engine.