How are rocks dierent than minerals?