added id as a member variable of ReactionRule