pub fn source_for_rule(rule_id: &str) -> RuleOriginExpand description
Looks up the RuleOrigin for a rule ID from the registry.
Panics if the rule is not registered - every built-in rule must be in the registry.
For custom/guard rules (not in the registry), callers must set source directly.