from typing import Tuple


def get_data_rules(config: dict) -> Tuple[list, list, list, list]:
    """
    Uses date configuration to determine which columns are of numeric, date,
    categorical type as well as what should be dropped.

    Args:
        config (dict): Data Configuration

    Returns:
        Tuple[list, list, list, list]:
            List of columns that are numeric, dates,  categoricals,
            and should be dropped.
    """
    numerics = []
    dates = []
    categoricals = []
    drops = []

    for key, value in config.items():
        if value == "numeric":
            numerics.append(key)
        if value == "date":
            dates.append(key)
        if value == "categorical":
            categoricals.append(key)
        if value == "drop":
            drops.append(key)

    return numerics, dates, categoricals, drops