Checks if a rule is enabled.
bool isEnabled(String ruleId) { return _settings[ruleId]?.enabled ?? true; }