The three classes of rocks are sedimentary, metamorphic, and igneous. How are rocks classified into one of these three groups?