We should only read the rules once, and not for every file.