class_docstr: An object modelling a logical rule and add factorization methods.
  It is used to simplify rules and deduplicate them.
  
  Parameters
  ----------
  
  rule : str
      The logical rule that is interpretable by a pandas query.
  
  args : object, optional
      Arguments associated to the rule, it is not used for factorization
      but it takes part of the output when the rule is converted to an array.
code: def __eq__(self, other):
      return self.agg_dict == other.agg_dict
  
file_path: skope-rules/skrules/rule.py
imports: import re
label_desc: Use image node_id 2 for calling the Rule obj's underlying member method code with example usage: obj.__eq__(other) and returns: unknown