class_docstr: Abstract class for optimizers.
  
  An optimizers transforms a DAG of operators with a list of predefined rules.
docstr: List of predefined rules for this optimizer.
docstr_tok: ["List","of","predefined","rules","for","this","optimizer","."]
code: def rules(self) -> List[Rule]:
      """List of predefined rules for this optimizer."""
      raise NotImplementedError
  
imports: from typing import List
  from .plan import Plan
label_desc: Use image node_id 1 for calling the Optimizer obj's underlying member method code with example usage: obj.rules() without return types