A phenomenological failure criterion for brittle rock