I'm not overly familiar with the Room Lighting app, but it appears that your options for turning off are an ANY statement. So, any of those will turn off the lights. It doesn't process them in order like Rule Machine. I think you would just want one "means to turn off" with "motion sensor inactive for 10 minutes" and options to delay the turn off and what-not.