@Override
    public boolean match(final String rule) {
        return rule.matches("^email$");
    }
@Test
    public void match() {
        assertTrue(generator.match("email"));
        assertFalse(generator.match("mail"));
        assertFalse(generator.match("Email"));
    }