* @param module
   * @return Keyword
   */
  public static Keyword callSetInferenceLevel(Keyword levelkeyword, Module module) {
    { InferenceLevel level = Logic.getInferenceLevel(levelkeyword);

      if (module != null) {
        KeyValueList.setDynamicSlotValue(module.dynamicSlots, Logic.SYM_LOGIC_INFERENCE_LEVEL, level, null);
      }
      else if (((QueryIterator)(Logic.$QUERYITERATOR$.get())) != null) {
        ((QueryIterator)(Logic.$QUERYITERATOR$.get())).inferenceLevel = level;
      }
      else {
        Native.setSpecial(Logic.$INFERENCELEVEL$, ((NormalInferenceLevel)(level)));
      }
      return (level.keyword);
    }
  }