Fixed some reaction rule group logical issues.