What rule is based on observation of atomic spectra?