Brittle failure of rock: A review and general linear criterion