Anticipation, Law, Prediction and Problem Solving