add calcurate_flux() to ReactionRule