updated and corrected DadaSensorRule class