code: def delete_rules(dataset: str, rules: List[Rule]):
      """Deletes the rules from the given dataset
  
      Args:
          dataset: Name of the dataset
          rules: Rules to delete from the dataset
  
      Returns:
      """
      rules = [rule._convert_to_labeling_rule() for rule in rules]
      singleton.active_api().delete_dataset_labeling_rules(
          dataset, rules
      )
  
imports: from typing import Dict, List, Optional, Union
  import argilla
  from argilla.client import singleton
  from argilla.client.api import load
  from argilla.client.models import TextClassificationRecord
  from argilla.client.sdk.text_classification.models import LabelingRule
label_desc: Use image node_id 2 for calling a global function with example usage: delete_rules(dataset, rules) without return types