A new class of decidable hybrid systems