If there is a double-occupied orbital before a singly filled orbital, Hund's rule is violated.