On first glance, you essentially have two different "on" commands separated by a delay. RM doesn't support multiple delays, so your off command has to be happening at the same time as one of the on commands. Screenshot would help.
I have it working with 2 rules except the light still wants to come back on after you manually shut off the light. I don't think I need the </=95 in the first rule.
During makes sense that it would turn back on. After doesn't. Might need to get your logging window open to see what's causing the light to turn back on.
Ok I let the rule run until it reached 95 in the logs and waited another minute and shut off the light. The light stayed off but I don't see any entry in the log for shutting off the switch. When I tried it again I also noticed the light came on bright (95) and then after a second or two it jumped down to 10%. I assume that would be normal. So I guess I was turning off the light before the 5 min was up and that was tripping it again. Maybe a gremlin as to why it wasn't staying off even after 10 minutes last time.
Thanks for your help.