@Test
public void rules() {

  MyPhpRules rulesDefinition = new MyPhpRules();
  RulesDefinition.Context context = new RulesDefinition.Context();
  rulesDefinition.define(context);
  RulesDefinition.Repository repository = context.repository("custom");
  assertEquals(2, repository.rules().size());
}