Out patient list as .csv
Fixed bug - accidentally modifying rule when printing patient list