class Rule implements JsonObjectConvertible {

    @Override
    public int hashCode() {
        return Objects.hash(type, pattern.pattern());
    }

    public  Rule(final RuleType type, final Pattern pattern);

}