def METHOD_NAME(formatted: dict, raw: dict) -> None:
    """Retrieves enrolment rules, if any"""
    formatted["enrolment_rules"] = ""
    if raw["enrolment_rules"]:
        # There could potentially be multiple enrolment rules (e.g. SENG4920)
        formatted_rule = ""
        for rule in raw["enrolment_rules"]:
            formatted_rule += rule.get("description")
        formatted["enrolment_rules"] = formatted_rule