Coverity scan of the current code raised the following issue:
```
>>> CID 327298: Null pointer dereferences (FORWARD_NULL)
>>> Accessing a property of null-like value "val".
271 if val.find("noalert") > -1:
```
Fix this by adding a null check on val.
Closes redmine ticket #2834.
rule[name] += [v.strip() for v in val.split(",")]
elif name == "flowbits":
rule.flowbits.append(val)
- if val.find("noalert") > -1:
+ if val and val.find("noalert") > -1:
rule["noalert"] = True
elif name == "reference":
rule.references.append(val)