Formation and interpretation of rock formations