Matching rule against IP subnet