code: @Override
      public void configure(String parameters) {
          if (parameters.isEmpty()) {
              return;
          }
          List<String> values = Op.split(parameters, " ", true);
          final int required = 2;
          if (values.size() < required) {
              throw new RuntimeException(MessageFormat.format(
                      "[configuration error] activation {0} requires {1} parameters",
                      this.getClass().getSimpleName(), required));
          }
  
          setNumberOfRules(Integer.parseInt(values.get(0)));
          setThreshold(Op.toDouble(values.get(1)));
      }
docs: Configures the activation method with the given number of rules and
  threshold
  
  @param parameters as "numberOfRules threshold"