a simple validator for xml-format protocol identification rules