protected Object getRuleInstance ( Class < ? > rule ) { try { return rule . newInstance ( ) ; } catch ( InstantiationException | IllegalAccessException ex ) { LOGGER . warn ( "Unable to create instance of rule using '" + rule + "'" , ex ) ; } return null ; }
Returns a rule instance