code: def get_rules(cls):
      mapping = {
          "0": ["8", "9", "o", "O", "D"],
          "1": ["4", "7", "l", "I"],
          "2": ["z", "Z"],
          "5": ["8"],
          "6": ["b"],
          "8": ["s", "S", "@", "&"],
          "9": ["g"],
          "o": ["u"],
          "r": ["k"],
          "C": ["G"],
          "O": ["D", "U"],
          "E": ["B"],
      }
  
      result = {}
  
      for k in mapping:
          result[k] = mapping[k]
  
      for k in mapping:
          for v in mapping[k]:
              if v not in result:
                  result[v] = []
  
              if k not in result[v]:
                  result[v].append(k)
  
      return result
  
file_path: textflint/textflint/generation/transformation/UT/ocr.py
imports: import random
  from ...transformation import WordSubstitute
label_desc: Use image node_id 3 for calling the OcrRules obj's underlying member method code with example usage: obj.get_rules(cls) and returns: result