removing rust bolts

Are they bolts or studs? If they are bolts I would just cut them and replace with stainless bolts.