Role and status of rock mechanics