def METHOD_NAME(dataset: str, rules: List[Rule]):
    """Updates the rules of the given dataset
    Args:
        dataset: Name of the dataset
        rules: Rules to update at the dataset
    Returns:
    """
    rules = [rule._convert_to_labeling_rule() for rule in rules]
    api.active_api().update_dataset_labeling_rules(dataset, rules)