public String apply(Instance inst){
  for (int i=0; i < m_selectedAtts.length; i++) {
    if (!inst.isMissing(m_selectedAtts[i])) {
      String value=inst.stringValue(m_selectedAtts[i]);
      String result=apply(value);
      if (result != null) {
        return result;
      }
    }
  }
  return null;
}

public String apply ( Instance inst ) { for ( int i = 0 ; i < m_selectedAtts . length ; i ++ ) { if ( ! inst . isMissing ( m_selectedAtts [ i ] ) ) { String value = inst . stringValue ( m_selectedAtts [ i ] ) ; String result = apply ( value ) ; if ( result != null ) { return result ; } } } return null ; }
apply this rule to the supplied instance
