code: def test_add_rules(mocked_client, log_dataset):
      expected_rules = [
          Rule(query="a query", label="La La"),
          Rule(query="another query", label="La La"),
          Rule(query="the other query", label="La La La"),
      ]
  
      add_rules(log_dataset, expected_rules)
  
      actual_rules = load_rules(log_dataset)
  
      assert len(actual_rules) == 3
      for actual_rule, expected_rule in zip(
          actual_rules, expected_rules
      ):
          assert actual_rule.query == expected_rule.query
          assert actual_rule.label == expected_rule.label
  
imports: import httpx
  import pytest
  from argilla import User
  from argilla.client.api import copy, delete, load
  from argilla.client.models import TextClassificationRecord
  from argilla.client.sdk.datasets.models import TaskType
  from argilla.client.sdk.text_classification.models import CreationTextClassificationRecord, TextClassificationBulkData
  from argilla.labeling.text_classification import Rule, add_rules, delete_rules, load_rules, update_rules
  from argilla.labeling.text_classification.rule import RuleNotAppliedError
  from argilla.server.errors import EntityNotFoundError
  from tests.integration.helpers import SecuredClient
  from tests.integration.utils import delete_ignoring_errors
label_desc: Use image node_id 10 for calling a global function with example usage: test_add_rules(mocked_client, log_dataset) without return types