Identification and formalization of prediction and recommendation rules