Adding rules file, fixing links to rules, updating Makefile
Commenting Makefile to explain logic