Rate equations involving reverse, parallel, consecutive and chain reactions