Moved basic functionality to parse a file of yara rules into the
module. Updated the example scripts to use the module.