[Extension()] public static bool TrySaveRuleFile( IProject project, IRuleFileRef ruleFileRef, IGroup group, out string failureReason )
Parameters
- project
 - The NDepend project used to resolve rule file absolute path from ruleFileRef
 - ruleFileRef
 - The reference to the rule file.
 - group
 - The group of code queries and rules to save.
 - failureReason
 - If the method returns false, failureReason is not null not empty, and explains in plain-english why code queries and rules haven't been saved to the rule file.
 
Return Value
true if the rules have been properly saved to the rule file, else returns false.
