private void add(string value) { if (_rule?.IsAddressCountLimitReached ?? true) { // initialize a new firewall rule if we reached the limit on current rule the rule has not been initialized yet initManagedRule(); } _rule.AddAddress(value); }