Added separate rule files for every rule in .aff file, upgraded scripts