Most snakes wont eat in shed, they can smell or see good and feel vulnerable. Some dont care but most do.
Messing with there hide also isn't helpful, they are ambush hunters and many will stay in there hide with there head poking out when in feeding/ambush mode.
Disturbing or handling a snake too much will also make it nervous refuse food. stressed BP's dont eat well.
Wait a week after a refusal and then try again.
Most of my snakes will not eat prekilled, they will sniff it, look interested but not strike. You will always have more sucess with live.
The snake is probably not afraid of the rodent but more of you messing with him. many snakes as they get older care more about security than food. There are always exceptions but generally this is the case.
Jusy let him chill for a week then put in a live rat pup without disturbing him or his hide and you should have better results.