pulled in some changes from kx499's branch with Rule Search

pulled in some changes from: https://github.com/threatstream/mhn/pull/90