alerts: added new condition types
alerts: added importResources function + changed findResourcesByPath to accept regular expressions