Checks if a rule is enabled in configuration.
bool isEnabled(String ruleId) { return ruleSettings[ruleId]?.enabled ?? false; }