Only read rules once