Kitchen hacks! magnet question.

My wife and I just had our cabinets replaced with shelves (hooray, no more bugs hiding in the cabinets!). We are continuing to reclaim space in out kitchen. I want to try something, but need opinions. Do you think i could take this utility rack: , stick magnets on it (strong ones on the back of the brackets), and attach it to the side of the fridge? Would the magnets repel the shelves or fridge since they are both stainless steel? What do you think?