pub fn set_enabled( path: &Path, name: &str, enabled: bool, ) -> Result<(), RulesError>
Turns a rule on or off, keeping the file’s comments and layout.