code: def disable_rules(rules_manager: RulesManager, rules: List[Rule]):
      """Use this function to temporarily drop rules.
          Useful for testing and debugging purposes.
      Args:
          rules_manager (RulesManager)
          rules (List[Rule]): List of rules to temporarily drop
      """
      try:
          rules_manager.disable_rules(rules)
          yield
      finally:
          rules_manager.add_rules(rules)
  
file_path: evadb/evadb/optimizer/rules/rules_manager.py
imports: from __future__ import annotations
  from contextlib import contextmanager
  from typing import List
  from evadb.optimizer.rules.rules import CacheFunctionExpressionInApply, CacheFunctionExpressionInFilter, CacheFunctionExpressionInProject, CombineSimilarityOrderByAndLimitToVectorIndexScan, EmbedFilterIntoGet, EmbedSampleIntoGet, LogicalApplyAndMergeToPhysical, LogicalApplyAndMergeToRayPhysical, LogicalCreateFromSelectToPhysical, LogicalCreateFunctionFromSelectToPhysical, LogicalCreateFunctionToPhysical, LogicalCreateIndexToVectorIndex, LogicalCreateToPhysical, LogicalDeleteToPhysical, LogicalDerivedGetToPhysical, LogicalDropObjectToPhysical, LogicalExchangeToPhysical, LogicalExplainToPhysical, LogicalFilterToPhysical, LogicalFunctionScanToPhysical, LogicalGetToSeqScan, LogicalGroupByToPhysical, LogicalInnerJoinCommutativity, LogicalInsertToPhysical, LogicalJoinToPhysicalHashJoin, LogicalJoinToPhysicalNestedLoopJoin, LogicalLateralJoinToPhysical, LogicalLimitToPhysical, LogicalLoadToPhysical, LogicalOrderByToPhysical, LogicalProjectNoTableToPhysical, LogicalProjectToPhysical, LogicalProjectToRayPhysical, LogicalRenameToPhysical, LogicalShowToPhysical, LogicalUnionToPhysical, LogicalVectorIndexScanToPhysical, PushDownFilterThroughApplyAndMerge, PushDownFilterThroughJoin, ReorderPredicates, XformExtractObjectToLinearFlow, XformLateralJoinToLinearFlow
  from evadb.optimizer.rules.rules_base import Rule
  from evadb.utils.generic_utils import is_ray_enabled_and_installed
label_desc: Use image node_id 1 for calling a global function with example usage: disable_rules(rules_manager, rules) without return types