Automatic Learning of Predictive CEP Rules