Ruby program to store/retrieve/manage Snort rules in an elasticsearch database