handling rule-loading errors