Bug1254 rule parsing crash v0

Bug 1254: https://redmine.openinfosecfoundation.org/issues/1254

Prscript:
- PR build: https://buildbot.openinfosecfoundation.org/builders/inliniac/builds/22
- PR pcaps: https://buildbot.openinfosecfoundation.org/builders/inliniac-pcap/builds/22