@ 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