code: def printRule(rule):
      """Print the passed rule"""
      print("Rule: ", end="")
      for i in rule[0:1]:  # ints or Any: Position and Organization
          if i == Any:
              print(ruleValToString(i) + ", ", end="")
  
      for i in rule[
          2:5
      ]:  # encoded: Potentional, Rating, Rating Slope, Salary Competitiveness
          print(ruleValToString(i) + ", ", end="")
  
      for i in rule[
          6:9
      ]:  # next 4 are ints or ANY: Tenure Low, Tenure High, Position Tenure Low, Position Tenure High
          if i == Any:
              print(ruleValToString(i) + ", ", end="")
          else:
              print(str(i) + ", ", end="")
      print(
          "==> "
          + ruleValToString(rule[10])
          + "["
          + str(rule[11])
          + "] "
          + str(rule[12])
      )
  
file_path: AIX360/aix360/data/ted_data/GenerateData.py
imports: import random
  from random import choices
  import pandas
label_desc: Use image node_id 4 for calling a global function with example usage: printRule(rule) without return types