added free_values to header
don't filter lines at this stage
improve clean_rulings