Made reading of the rules file