There are two files:

[1]   fix_index.sh
[2]    MALW_AZORULT.yar

Copy [1] to the folder containing your index.yar file.
Copy [2] to the folder containing MALW_AZORULT.yar to overwrite it. It is 
found in the folder called yara-rules/malware


The fix_index.sh is a script you may use to fix the errors caused
by index.yar giving "include file not found" type errors when using yara
with other tools like pdf-parser.py

If you run pdf-parser with yara like this:

  pdf-parser.py -y ~/malware/yara-rules/index.yar badpdf.pdf

and you get errors saying ... files not found, or, sync not found ...,
then you can use fix_index.sh and MALW_AZORULT.yar to fix it.

Before you can use the script, you need to open and edit it first.
Inside it you should replace the path to your index.yar file with your own.

Open it and edit this line:

sed -i 's/\.\//\/home\/remnux\/malware\/yara-rules\//g' index.yar

It assumes that your index.yar file is in this path:
  
   /home/remnux/malware/yara-rules/

If your path is different, eg if your path is 

   /home/remnux/foo/yara-rules

Then your line should be:

   sed -i 's/\.\//\/home\/remnux\/foo\/yara-rules\//g' index.yar

After editing the file, you should make it executable, as follows:

  chmod ugo+x fix_index.sh

Then put it in the same folder as your index.yar, and execute it as follows:

   ./fix_index.sh