Writing Complex Snort Rules