A medium rat may be to big and could injure your animal.
Be prepared to intervene with a pencil to put in the rats jaw.
Don't mean to freak you out but to prepare you.
How are you judging the size of the rat?
I would try a small or crawler first.
You could also try putting the snake and rat in a small tub and see if that works.