Rule-based Simulations