An orbital explanation for Pauling's third rule