Lee, who only began full training last week following a shoulder operation, was thrown in for his first appearance since December in the 4-3 win at Tranmere as David Button was suspended.
"Playing Richard was a gamble," admitted Rosler.
"I talked about mental strength and experience, that is an example. Richard lives on that.
"He has not played for seven or eight months and has not done a lot of team training.
"To go there, perform like he did, he can only do that with his experience and mental strength."