from typing import Dict


def acquire_labels(rules: Dict) -> Dict:
    """
    Extract labels from rules.

    :rules (Dict) A dictionary containing the rules

    Return a dictionary containing the labels as key:value pairs
    """
    labels = {}
    for ruleset in rules['rules']:
        for label in ruleset.get('labelSet', {}).keys():
            if label not in labels:
                labels[label] = ''
    return labels