Data mining with temporal abstractions: learning rules from time series