Rabbits actually do better on non-wire flooring. The wire is harsh on their feet and can eventually hurt them if they stay on long enough. You can keep the wire floor if you really have to, but give them some flat places to rest. Maybe large pieces of cardboard, towel/fabric, plastic? It'll help them keep warm too.
I imagine it is the same with rats. Being on wire isn't super comfortable or as enriching as being on bedding. With bedding they can dig around, chew on, pick through it, etc. Bedding also helps them keep warm/thermoregulate. I think if you can keep them on a solid floor with bedding it's probably better.
I work in a lab and I've seen some rats (especially the smaller/younger ones) fail on the wire mesh cages we sometimes have to keep them on.![]()