add Pattern Match Chain Rules Serializer