pub fn load_rules_from_file(path: &Path) -> Result<CustomRulesFile, String>
Load custom rules from a file path.