could we do this in rulesFromFile/getUpdatedFromDB methods?