Uncertainty Quantification for Rule-Based Models