add a function to get the number of reaction rules
just formatted
add the zero-th order reactions