parses and generates Snort rules similar to PERL's Snort::Rule