Fixed "Permission denied" on rules file.

Reported by: anikeev@ut.mephi.ru