public static List <string> rules_Names(this API_CatNet catNet)
 {
     return((from rule in catNet.rules()
             select rule.Info.Name).toList());
 }
 public static Rules.Rule rule(this API_CatNet catNet, string ruleName)
 {
     return((from rule in catNet.rules()
             where rule.Info.Name == ruleName
             select rule).first());
 }