I ran a thin wire from a grounding point (i.e. cold water pipe, radiator, AC grounding lug, etc.) near my rack to a location on the top of the rack where I mounted a bolt in easy reach. every time I go to touch anything on the rack I touch this wire and "discharge" (the static you bonehead, not the flatulance).
Bob