@Test
public void createWithMatchRules() {

	List<MatchRule> rules = ImmutableList.of(MatchRule.withPattern("abc"), MatchRule.withPattern("def"));
	Category category = new Category("a name", rules);
	assertEquals(rules, category.getMatchRules());
}