src/main/java/com/github/fge/grappa/parsers/BaseParser.java
@DontExtend
    public Rule[] toRules(final Object... objects)
    {
        return Arrays.stream(objects).map(this::toRule).toArray(Rule[]::new);
    }
@DontExtend
    public Rule[] toRules(final Object... objects)
    {
        return Arrays.stream(objects).map(this::toRule).toArray(Rule[]::new);
    }
@ DontExtend public Rule [ ] toRules ( final Object ... objects ) { return Arrays . stream ( objects ) . map ( this :: toRule ) . toArray ( Rule [ ] :: new ) ; }
Convert the given object array to an array of rules

@param objects the objects to convert
@return the rules corresponding to the given objects
Convert the given object array to an array of rules