Earthquake lights and rupture processes