Rule-based modelling of biological systems using regulated rewriting. (March 2023)