pub fn all_rules() -> &'static [RuleInfo]
The full rule catalog, in stable order. Used by lex docs --rules and by tooling that wants to enumerate every supported rule (e.g. an LSP server building a code-actions registry).
lex docs --rules