The definition I use is class is.
A rock is a solid compound composed of one or more mineral or mineraloids.
its the broadest but also the easiest definition, there are biotic, abiotic, and human created rocks. To go to chemistry basically any solid is a rock. Sand is a pile of tiny rocks.
Some argue that only naturally occurring compounds should count but ...