/// <summary> /// 添加rule /// </summary> /// <param name="rule"></param> public void AddRule(IRule rule) { RuleList.Add(rule); }