Police have arrested a man and seized a water pistol after they rushed to a park near the NSW Parliament House following reports of shots fired.