add metric to monitor the number of exceptions that were caught in tryRules command