Added metric thresholds: maxRules and maxFileSize