code: def register_optimization_rule():
      def wrap(rule_type: Type[OptimizationRule]):
          TileableOptimizer.register_rule(rule_type)
  
      return wrap
  
file_path: mars/mars/optimization/logical/tileable/core.py
imports: from typing import List, Type
  from ..core import Optimizer, OptimizationRule, OperandBasedOptimizationRule, OptimizationRecords
  from ....core import OperandType, TileableGraph
label_desc: Use image node_id 1 for calling a global function with example usage: register_optimization_rule() and returns: wrap