Doesn't Batman, Superman, and Wonder Woman also know magic, so what? What you should be saying is how powerful they are with their magic compared to them.
Batman would probably be the first to die, and if rimuru can use gluttony on superman and copy his abilities it's kinda over since he'll be even stronger
I refuse DC Characters to loose, but I literally have no idea how powerful the other team is except being known for being the most powerful, well most and only Rimuru, Superman would destroy the others, it's only Rimuru who is a God-like figure.