Precursors of Dynamic Excitations and Rupture in Rocks