The Atmosphere-Interior Connection: Rocky Planets as Linked Chemical Systems