In geology, what factors determine the classification of rocks?  Place the results in a bullet list

- minerals included
- chemical composition
- way in which the rock is formed