code: def _update_rule_table(options, config):
      """Update the rule table with any staging information
  
      Args:
          options (argparse.Namespace): Various options from the CLI needed for actions
          config (CLIConfig): The loaded StreamAlert config
      """
      # If rule staging is disabled, do not update the rules table
      if not config["global"]["infrastructure"]["rule_staging"].get(
          "enabled", False
      ):
          return
  
      # Get the rule import paths to load
      rule_import_paths = config["global"]["general"]["rule_locations"]
  
      table_name = "{}_streamalert_rules".format(
          config["global"]["account"]["prefix"]
      )
      table = rule_table.RuleTable(table_name, *rule_import_paths)
      table.update(options.skip_rule_staging)
  
      if options.stage_rules or options.unstage_rules:
          # Create a dictionary of rule_name: stage=True|False
          rules = {
              rule_name: False for rule_name in options.unstage_rules
          }
          rules.update(
              {rule_name: True for rule_name in options.stage_rules}
          )
          for rule, stage in rules.items():
              table.toggle_staged_state(rule, stage)
  
file_path: streamalert/streamalert_cli/manage_lambda/deploy.py
imports: from streamalert.shared import rule_table
  from streamalert.shared.logger import get_logger
  from streamalert_cli.terraform.generate import terraform_generate_handler
  from streamalert_cli.terraform.helpers import terraform_runner
  from streamalert_cli.utils import add_default_lambda_args, CLICommand, MutuallyExclusiveStagingAction, set_parser_epilog
label_desc: Use image node_id 2 for calling a global function with example usage: _update_rule_table(options, config) without return types