public PlanetsideClassRuleSettings(RulesetItemCategoryRule rule)
 {
     InfiltratorIsBanned  = rule.InfiltratorIsBanned;
     InfiltratorPoints    = rule.InfiltratorPoints;
     LightAssaultIsBanned = rule.LightAssaultIsBanned;
     LightAssaultPoints   = rule.LightAssaultPoints;
     MedicIsBanned        = rule.MedicIsBanned;
     MedicPoints          = rule.MedicPoints;
     EngineerIsBanned     = rule.EngineerIsBanned;
     EngineerPoints       = rule.EngineerPoints;
     HeavyAssaultIsBanned = rule.HeavyAssaultIsBanned;
     HeavyAssaultPoints   = rule.HeavyAssaultPoints;
     MaxIsBanned          = rule.MaxIsBanned;
     MaxPoints            = rule.MaxPoints;
 }
        public JsonRulesetItemCategoryRule(RulesetItemCategoryRule rule)
        {
            ItemCategoryName = rule.ItemCategory.Name;
            ItemCategoryId   = rule.ItemCategoryId;
            Points           = rule.Points;
            IsBanned         = rule.IsBanned;
            DeferToItemRules = rule.DeferToItemRules;

            DeferToPlanetsideClassSettings = rule.DeferToPlanetsideClassSettings;
            InfiltratorIsBanned            = rule.InfiltratorIsBanned;
            InfiltratorPoints    = rule.InfiltratorPoints;
            LightAssaultIsBanned = rule.LightAssaultIsBanned;
            LightAssaultPoints   = rule.LightAssaultPoints;
            MedicIsBanned        = rule.MedicIsBanned;
            MedicPoints          = rule.MedicPoints;
            EngineerIsBanned     = rule.EngineerIsBanned;
            EngineerPoints       = rule.EngineerPoints;
            HeavyAssaultIsBanned = rule.HeavyAssaultIsBanned;
            HeavyAssaultPoints   = rule.HeavyAssaultPoints;
            MaxIsBanned          = rule.MaxIsBanned;
            MaxPoints            = rule.MaxPoints;
        }