Connecting clinical and actuarial prediction with rule-based methods