just use IpSubnetFilterRule rule = new ...