difference between a rock and ore