Predictive runtime enforcement