snort-1.0-lib is a set of example Snort rules. It's short, but gives a good overview of the basic rule types and how to use the pattern matcher properly. This version of snort-lib includes alot of new stuff.
d2a73cd5b6c76f16f4ead40cb0eb1d77071693461cc924cd7f57a3b3acb38082