Real-time model predictive and rule-based control with green infrastructures to reduce combined sewer overflows.