Battery tray hardware

I bought a mixed pack of those from the local AutoZone. It was in the "Help" section. There were several different sizes and thread pitches. One of them fit and looked identical to my rat urine soaked and rusty original.