Rules and Discretion in the Evaluation of Students and Schools: The Case of the New York Regents Examinations