code: def _rule_predict(data, rule):
      """
      Make a decision using input data and rule
  
      Parameters
      ----------
      data : const double[::1, :]
          Input instances
      rule : list
          Input rule
  
      Returns
      -------
      ndarray
          Predictions
      """
      if len(rule) == 0:
          return np.full(len(data), False)
      else:
          return _bind_rule_index(data, rule)
  
imports: import numpy
  import numba
label_desc: Use image node_id 13 for calling a global function with example usage: _rule_predict(data, rule) and returns: np, _bind_rule_index