public PublicAccessRule AddRule(string ruleValue, string ruleType)
        {
            var rule = new PublicAccessRule
            {
                AccessEntryId = Key,
                RuleValue     = ruleValue,
                RuleType      = ruleType
            };

            _ruleCollection.Add(rule);
            return(rule);
        }
 public void RemoveRule(PublicAccessRule rule)
 {
     _ruleCollection.Remove(rule);
 }