@Test
public void negation() {

    Set<String> rules = new HashSet<>();
    rules.add("foo");
    rules.add("bar");
    Set<String> result = ruleFilter.match(rules, "*, !b*r");
    assertThat(result).containsExactly("foo");
}