Correcting directory error in rules.