/// <summary> /// This method will check for all available business rules in system. /// </summary> /// <param name="order"></param> private void EvaluateforAllBusinessRules(Order.Domain.Model.Order order) { if (order.Category == "Book" || order.Category == "PhysicalProduct" || order.Category == "Membership" || order.Category == "MembershipUpgrade" || order.Category == "VideoProduct") { var rule = RuleHelper.And( new IRule[5] { new BookProductRule(), new PhysicalProductRule(), new VideoProductRule(), new MembershipProductRule(), new UpgradeMembershipRule() }); _ruleService.Evaluate(rule, order); } }