final public void modeConversionRules() throws ParseException {
 Token mode;
 Token modeSign;
 List<String> modes;
    mode = jj_consume_token(STRING);
    if (jj_2_67(7)) {
      modeSign = jj_consume_token(EQUALS);
    } else if (jj_2_68(7)) {
      modeSign = jj_consume_token(NOT_EQUALS);
    } else if (jj_2_69(7)) {
      modeSign = jj_consume_token(EXCLUDED);
    } else {
      jj_consume_token(-1);
      throw new ParseException();
    }
    modes = stringList();
  if (modes.size()>0) {
   String[] modesArray=new String[modes.size()];
   modes.toArray(modesArray);
   if ("==".equals(modeSign.image)) {
    theory.addModeConversionRules(mode.image,modesArray);
   } else if ("!=".equals(modeSign.image)) {
    theory.addModeConflictRules(mode.image,modesArray);
   } else {
    theory.addModeExclusionRules(mode.image,modesArray);
   }
  }
  }