Three major groups of rocks are defined : igneous , sedimentary , and metamorphic .
Rocks may be igneous , sedimentary and metamorphic .