def get_parts(line):
    """
    Split each rule line into its constituent parts

    >>> get_parts('1-3 a: abcde')
    ('1-3 a', 'abcde')
    >>> get_parts('1-3 b: cdefg')
    ('1-3 b', 'cdefg')
    >>> get_parts('2-9 c: ccccccccc')
    ('2-9 c', 'ccccccccc')

    :param line:
    :return:
    """
    p1, p2 = line.split(":", 1)
    return p1.strip(), p2.strip()