For a rat, the spinal cord could be just as big, or bigger than the brain in mass. It's possible that the spinal cord does majority of processing for rats, like cockroaches.
I wasn't really aware of cockroaches possessing spinal cords.
Flippancy aside, rats are sophisticated mammals with basically the same set of higher order functions as ourselves, although of course in different quantities.