Octet rule : The tendency of atoms in molecules to have eight electrons in their valence shells (two for hydrogen atom) is known as the octet rule.