class_docstr: Represents a set of CPA rules
docstr: Create an empty set of rules.
  
  Use "parse" to read in the rules file or add rules programatically
  to self.rules.
docstr_tok: ["Create","an","empty","set","of","rules",".","Use","``","parse","''","to","read","in","the","rules","file","or","add","rules","programatically","to","self.rules","."]
code: def __init__(self, allow_fuzzy=False, fuzzy_value=FUZZY_FLOAT):
      """Create an empty set of rules.
  
      Use "parse" to read in the rules file or add rules programatically
      to self.rules.
      """
      self.rules = []
      self.allow_fuzzy = allow_fuzzy
      self.fuzzy_value = fuzzy_value
  
file_path: CellProfiler/src/frontend/cellprofiler/utilities/rules.py
imports: from difflib import SequenceMatcher
  from rapidfuzz import process
  import re
  from cellprofiler_core.module import Module
  from cellprofiler_core.setting import Binary
  import numpy
label_desc: Use image node_id 1 to create a new Rules object from inherited base classes: Module with example: obj = Rules(allow_fuzzy, fuzzy_value)