pub fn load_rule_dir(dir: impl AsRef<Path>) -> Result<Vec<Rule>, RulesError>
Load every .toml rule directly under dir, sorted by filename for a deterministic order. Non-.toml files and subdirectories are ignored.
.toml
dir