def METHOD_NAME(dataset: str) -> List[Rule]:
    """load the rules defined in a given dataset.
    Args:
        dataset: Name of the dataset.
    Returns:
        A list of rules defined in the given dataset.
    """
    rules = api.active_api().fetch_dataset_labeling_rules(dataset)
    return [
        Rule(
            query=rule.query,
            label=rule.label or rule.labels,
            name=rule.description,
            author=rule.author,
        )
        for rule in rules
    ]