The middle layer of the earth, made of solid, hot rock, is the what?

mantle.

See http://www.enchantedlearning.com/subjects/astronomy/planets/earth/Inside.shtml
for more about the terminolofy.