pub fn load_ruleset_yaml(path: &Path) -> Result<BTreeMap<String, Value>>Expand description
Parse a shieldset YAML file into a BTreeMap<rule_id, rule_body>
where rule_body is the rule’s YAML node MINUS its id field.
Used for diffing rules textually. Tolerates both the wrapped
(shieldset:\n rules:) and bare (rules:) forms, matching the
Python prototype.