The rules af placing electrons within shells is known as the Aufbau principle.
Aufbau principle gives the order of electron filling in an atom.
Aufbau principle<>gives<>the order of electron filling in an atom$$$the order of electron<>filling<>in an atom