Serialization of declarations in group rules