I have exported rule
{"deviceReplacements":{"17":{"deviceName":"Sengled Light Bulb","deviceLabel":"Back Stairs Light","deviceTypeName":"Sengled Element Classic","deviceTypeNamespace":"hubitat"},"2":{"deviceName":"Sengled Light Bulb","deviceLabel":"Dining Room Light","deviceTypeName":"Sengled Element Classic","deviceTypeNamespace":"hubitat"},"18":{"deviceName":"Sengled Light Bulb","deviceLabel":"Gym Light","deviceTypeName":"Sengled Element Classic","deviceTypeNamespace":"hubitat"},"4":{"deviceName":"Sengled Light Bulb","deviceLabel":"Living Room East Light","deviceTypeName":"Sengled Element Classic","deviceTypeNamespace":"hubitat"},"84":{"deviceName":"Sengled Color Light Bulb","deviceLabel":"Passway Light","deviceTypeName":"Sengled Element Color Plus","deviceTypeNamespace":"hubitat"},"21":{"deviceName":"Sengled Light Bulb","deviceLabel":"Office Desk Light","deviceTypeName":"Sengled Element Classic","deviceTypeNamespace":"hubitat"},"6":{"deviceName":"Sengled Light Bulb","deviceLabel":"Front Entry Light","deviceTypeName":"Sengled Element Classic","deviceTypeNamespace":"hubitat"},"54":{"deviceName":"Sylvania RGBW Light Strip","deviceLabel":"Sink Light","deviceTypeName":"Advanced Zigbee RGBW Bulb","deviceTypeNamespace":"hubitat"},"7":{"deviceName":"Sengled Light Bulb","deviceLabel":"Living Room North Light","deviceTypeName":"Sengled Element Classic","deviceTypeNamespace":"hubitat"},"8":{"deviceName":"Sengled Light Bulb","deviceLabel":"Night Stand Light","deviceTypeName":"Sengled Element Classic","deviceTypeNamespace":"hubitat"},"10":{"deviceName":"Sengled Light Bulb","deviceLabel":"Living Room West Light","deviceTypeName":"Sengled Element Classic","deviceTypeNamespace":"hubitat"},"96":{"deviceName":"Tuya Lux Tempurature Humidity Sensor","deviceLabel":"Lux Tempurature Humidity Sensor","deviceTypeName":"Tuya Temperature Humidity Illuminance LCD Display with a Clock","deviceTypeNamespace":"kkossev"}},"appReplacements":{"231":{"appTypeName":"Rule-5.1","appTypeNamespace":"hubitat","appType":"sys","appName":"Rule-5.1","appLabel":"Update Lighting for Lux (Required Expression false)","parentAppInstalledAppId":"127","parentAppTypeName":"Rule Machine","parentAppTypeNamespace":"hubitat","parentAppName":"Rule Machine","parentAppLabel":"Rule Machine","childApps":{},"singleInstance":false}},"appData":{"231":{"state":{"parens":{"0":0,"3":0,"4":0,"5":0,"6":0},"actionDone":true,"ndx":23,"nestedBlock":[false],"installedRules":[{"229":"Away"},{"221":"Get Up"},{"232":"Home"},{"159":"Kitchen light at night"},{"188":"Living Room Reading"},{"226":"Office light at night"},{"189":"Passway light at night"},{"158":"Set mode to home when back door is unlocked and mode is away"},{"220":"Sleep"}],"selectActionsParams":{"label":"Update Lighting for Lux"},"editCondIf":null,"waitDone":{},"usesTime":false,"nestedIf":[false],"inIf":true,"trigCustoms":[],"repeating":null,"capabDone":true,"skipping":false,"lastEvtName":"931 Wendell Ave","predCapabs":[1,2],"locationBlocked":[],"inRepIf":null,"ruleNdx":7,"firstR":{"0":false,"3":false,"4":false,"5":false,"6":false},"actionList":["4","5","6","7","8","9","10","11","12","13","14","15","16"],"timeTriggers":[],"locVars":{},"allVarsO":["HeatDownTemp","HeatUpTemp","LuxThreashold","Sleep"],"actLabelIndent":"","certainTimes":[],"allVarsS":[],"allVarsT":[],"prevState":{"PB":"true","Sleep":"false","96":32},"blockIf":false,"eval":{"0":[1,"AND",2],"3":[12],"4":[15],"5":[18],"6":["15"]},"lastEvtText":"931 Wendell Ave is now in Home mode","capabstrue":{"4":"Illuminance of Lux Tempurature Humidity Sensor(166) changed ","5":"Mode becomes changed","6":{}},"installedCapabs":["Variable","Configuration","RelativeHumidityMeasurement","ColorMode","Initialize","Notification","ReleasableButton","Refresh","HoldableButton","SwitchLevel","ColorTemperature","DoubleTapableButton","Light","MotionSensor","Battery","Outlet","ColorControl","Actuator","PresenceSensor","Thermostat","LockCodes","PushableButton","ChangeLevel","Lock","PowerMeter","TemperatureMeasurement","Switch","IlluminanceMeasurement","Bulb","Sensor"],"nestedSkipAll":[false],"skipType":"else","lastEvtDate":"24-Mar-2022","parenLev":0,"nestedInIf":[null],"actions":{"11":{"wait":null,"delay":"","modes":{},"method":"getIfThen","indent":"","rule":5,"label":"IF (Mode is Home(T) [TRUE]) THEN\n","cond":0},"12":{"wait":null,"delay":"","modes":{},"method":"getIfThen","indent":"\t","rule":6,"label":"\tIF (Illuminance of Lux Tempurature Humidity Sensor(44) is < LuxThreashold(40)(F) [FALSE]) THEN\n","cond":0},"13":{"wait":null,"delay":"","modes":{},"method":"getOnOffSwitch","indent":"\t\t","rule":null,"label":"\t\tOn: Night Stand Light, Dining Room Light, Passway Light, Living Room North Light\n","cond":0},"14":{"wait":null,"delay":"","modes":{},"method":"getElse","indent":"\t\t","rule":null,"label":"\tELSE\n","cond":0},"15":{"wait":null,"delay":"","modes":{},"method":"getOnOffSwitch","indent":"\t\t","rule":null,"label":"\t\tOff: Night Stand Light, Dining Room Light, Passway Light, Living Room North Light\n","cond":0},"16":{"wait":null,"delay":"","modes":{},"method":"getEndIf","indent":"\t","rule":null,"label":"\tEND-IF\n","cond":0},"4":{"wait":null,"delay":"","modes":{},"method":"getIfThen","indent":"","rule":3,"label":"IF (Mode is Away(F) [FALSE]) THEN\n","cond":0},"5":{"wait":null,"delay":"","modes":{},"method":"getIfThen","indent":"\t","rule":4,"label":"\tIF (Illuminance of Lux Tempurature Humidity Sensor(44) is < LuxThreashold(40)(F) [FALSE]) THEN\n","cond":0},"6":{"wait":null,"delay":"","modes":{},"method":"getSetDimmer","indent":"\t\t","rule":null,"label":"\t\tDim: Gym Light, Living Room North Light: 44\n","cond":0},"7":{"wait":null,"delay":"","modes":{},"method":"getElse","indent":"\t\t","rule":null,"label":"\tELSE\n","cond":0},"8":{"wait":null,"delay":"","modes":{},"method":"getOnOffSwitch","indent":"\t\t","rule":null,"label":"\t\tOff: Back Stairs Light, Dining Room Light, Gym Light, Living Room East Light, Passway Light, Office Desk Light, Front Entry Light, Sink Light, Living Room North Light, Night Stand Light, Living Room West Light\n","cond":0},"9":{"wait":null,"delay":"","modes":{},"method":"getEndIf","indent":"\t","rule":null,"label":"\tEND-IF\n","cond":0},"10":{"wait":null,"delay":"","modes":{},"method":"getEndIf","indent":"","rule":null,"label":"END-IF\n","cond":0}},"clipList":[],"actNdx":17,"lastEvtValue":"Home","allVarsGT":[],"installed":true,"waitEvents":[],"private":"true","waitNdx":{},"allVars":{"LuxThreashold":{"attribute":"Variable","type":"Number","value":40,"deviceId":97},"Sleep":{"attribute":"Variable","type":"Boolean","value":false,"deviceId":88},"HeatUpTemp":{"attribute":"Variable","type":"Number","value":68,"deviceId":89},"HeatDownTemp":{"attribute":"Variable","type":"Number","value":62,"deviceId":90}},"simpleCond":false,"changedValues":true,"nestedRepIf":[],"lastEvtTime":"17:47","condOper":"cond","hasPredicate":true,"nestedElse":[null,null],"allVarsI":["HeatDownTemp","HeatUpTemp","LuxThreashold"],"formerState":"Sleep","varTriggersFixed":true,"skipAll":true,"needWaitCancel":false,"cutAction":[],"allVarsD":["HeatDownTemp","HeatUpTemp","LuxThreashold"],"stopped":false,"nestedLabel":[true],"oldInputAct":true,"inputAct":true,"lastEvtDevId":null,"token":3,"waitCondNdx":1,"hasElse":null,"capabsfalse":{"1":"Variable Sleep(false) = false","12":"Mode is Away","2":"Time between Sunrise+30 minutes(07:42) and Sunset-30 minutes(18:30)","15":"Illuminance of Lux Tempurature Humidity Sensor(85) is < LuxThreashold(70)","6":"Illuminance of Lux Tempurature Humidity Sensor(97) is < LuxThreashold(70)","18":"Mode is Home","9":"Mode is Away"},"stPrimed":false,"timeTriggersW":{},"todn":{"tod":false,"n":2},"allLocalVars":{},"timeFormat":"HH:mm","olddValues":true,"needWaitDone":false},"appSettings":[{"deviceList":null,"multiple":false,"name":"state_15","type":"decimal","value":"0"},{"deviceList":null,"multiple":true,"name":"copyAct","type":"enum","value":null},{"deviceList":null,"multiple":false,"name":"actSubType.6","type":"enum","value":"getSetDimmer"},{"deviceList":null,"multiple":false,"name":"butEndIf","type":"button","value":""},{"deviceList":null,"multiple":false,"name":"actSubType.7","type":"enum","value":"getElse"},{"deviceList":null,"multiple":false,"name":"pausRule","type":"button","value":""},{"deviceList":null,"multiple":false,"name":"actSubType.8","type":"enum","value":"getOnOffSwitch"},{"deviceList":null,"multiple":false,"name":"actSubType.9","type":"enum","value":"getEndIf"},{"deviceList":null,"multiple":false,"name":"cond","type":"enum","value":null},{"deviceList":null,"multiple":false,"name":"insertAct","type":"enum","value":""},{"deviceList":null,"multiple":false,"name":"isVar_15","type":"bool","value":"true"},{"deviceList":null,"multiple":false,"name":"actSubType.4","type":"enum","value":"getIfThen"},{"deviceList":null,"multiple":false,"name":"tstate4","type":"text","value":"changed"},{"deviceList":null,"multiple":false,"name":"butElse","type":"button","value":""},{"deviceList":null,"multiple":false,"name":"actSubType.5","type":"enum","value":"getIfThen"},{"deviceList":null,"multiple":false,"name":"endingA2","type":"time","value":""},{"deviceList":null,"multiple":false,"name":"editToken","type":"button","value":""},{"deviceList":null,"multiple":false,"name":"uVar.3","type":"bool","value":""},{"deviceList":null,"multiple":false,"name":"uVar.6","type":"bool","value":""},{"deviceList":{"17":"Back Stairs Light","2":"Dining Room Light","18":"Gym Light","4":"Living Room East Light","84":"Passway Light","21":"Office Desk Light","6":"Front Entry Light","54":"Sink Light","7":"Living Room North Light","8":"Night Stand Light","10":"Living Room West Light"},"multiple":true,"name":"onOffSwitch.8","type":"capability.switch","value":null},{"deviceList":null,"multiple":false,"name":"stopRule","type":"button","value":""},{"deviceList":null,"multiple":true,"name":"modesX5","type":"enum","value":"[\"0\"]"},{"deviceList":null,"multiple":false,"name":"xVar_1","type":"enum","value":"Sleep"},{"deviceList":null,"multiple":false,"name":"delayAct.8","type":"enum","value":"none"},{"deviceList":null,"multiple":false,"name":"endSunsetOffset2","type":"number","value":"-30"},{"deviceList":null,"multiple":true,"name":"logging","type":"enum","value":null},{"deviceList":null,"multiple":false,"name":"editCond","type":"enum","value":""},{"deviceList":null,"multiple":false,"name":"actType.5","type":"enum","value":"condActs"},{"deviceList":null,"multiple":false,"name":"actType.4","type":"enum","value":"condActs"},{"deviceList":null,"multiple":false,"name":"actType.7","type":"enum","value":""},{"deviceList":null,"multiple":false,"name":"actType.6","type":"enum","value":"dimmerActs"},{"deviceList":null,"multiple":false,"name":"updateRule","type":"button","value":""},{"deviceList":null,"multiple":false,"name":"actType.9","type":"enum","value":""},{"deviceList":null,"multiple":false,"name":"hasRule","type":"button","value":""},{"deviceList":null,"multiple":false,"name":"delayAct.6","type":"enum","value":"none"},{"deviceList":null,"multiple":false,"name":"actType.8","type":"enum","value":"switchActs"},{"deviceList":null,"multiple":false,"name":"uVar2.3","type":"bool","value":""},{"deviceList":null,"multiple":true,"name":"modes9","type":"enum","value":"[\"4\"]"},{"deviceList":null,"multiple":false,"name":"runAction","type":"button","value":""},{"deviceList":null,"multiple":false,"name":"rCapab_15","type":"enum","value":"Illuminance"},{"deviceList":null,"multiple":false,"name":"uVar2.6","type":"bool","value":""},{"deviceList":null,"multiple":false,"name":"rCapab_18","type":"enum","value":"Mode"},{"deviceList":null,"multiple":false,"name":"editAct","type":"enum","value":""},{"deviceList":{"8":"Night Stand Light","2":"Dining Room Light","84":"Passway Light","7":"Living Room North Light"},"multiple":true,"name":"onOffSwitch.15","type":"capability.switch","value":null},{"deviceList":null,"multiple":false,"name":"atOrBetween2","type":"bool","value":"false"},{"deviceList":null,"multiple":true,"name":"cutAct","type":"enum","value":null},{"deviceList":{"8":"Night Stand Light","2":"Dining Room Light","84":"Passway Light","7":"Living Room North Light"},"multiple":true,"name":"onOffSwitch.13","type":"capability.switch","value":null},{"deviceList":null,"multiple":true,"name":"modes12","type":"enum","value":"[\"4\"]"},{"deviceList":null,"multiple":false,"name":"not15","type":"bool","value":""},{"deviceList":null,"multiple":false,"name":"not12","type":"bool","value":""},{"deviceList":null,"multiple":true,"name":"modes18","type":"enum","value":"[\"2\"]"},{"deviceList":null,"multiple":false,"name":"not18","type":"bool","value":""},{"deviceList":null,"multiple":true,"name":"deleteAct","type":"enum","value":null},{"deviceList":null,"multiple":false,"name":"oper","type":"enum","value":null},{"deviceList":null,"multiple":false,"name":"actionDone","type":"button","value":""},{"deviceList":null,"multiple":false,"name":"tCapab5","type":"enum","value":"Mode"},{"deviceList":null,"multiple":false,"name":"actSubType.10","type":"enum","value":"getEndIf"},{"deviceList":null,"multiple":false,"name":"delayAct.13","type":"enum","value":"none"},{"deviceList":null,"multiple":false,"name":"tCapab6","type":"enum","value":""},{"deviceList":null,"multiple":false,"name":"actSubType.12","type":"enum","value":"getIfThen"},{"deviceList":null,"multiple":false,"name":"delayAct.15","type":"enum","value":"none"},{"deviceList":null,"multiple":false,"name":"tCapab4","type":"enum","value":"Illuminance"},{"deviceList":null,"multiple":false,"name":"actSubType.11","type":"enum","value":"getIfThen"},{"deviceList":null,"multiple":false,"name":"actSubType.14","type":"enum","value":"getElse"},{"deviceList":null,"multiple":false,"name":"actSubType.13","type":"enum","value":"getOnOffSwitch"},{"deviceList":null,"multiple":false,"name":"actSubType.16","type":"enum","value":"getEndIf"},{"deviceList":null,"multiple":false,"name":"actSubType.15","type":"enum","value":"getOnOffSwitch"},{"deviceList":null,"multiple":false,"name":"not2","type":"bool","value":""},{"deviceList":null,"multiple":false,"name":"not1","type":"bool","value":""},{"deviceList":null,"multiple":false,"name":"useST","type":"bool","value":"true"},{"deviceList":null,"multiple":false,"name":"dimTrack.6","type":"bool","value":""},{"deviceList":null,"multiple":false,"name":"dimTrack.3","type":"bool","value":""},{"deviceList":null,"multiple":false,"name":"startingA2","type":"time","value":""},{"deviceList":null,"multiple":false,"name":"doneST","type":"button","value":""},{"deviceList":null,"multiple":false,"name":"xVarR_15","type":"enum","value":"LuxThreashold"},{"deviceList":null,"multiple":false,"name":"refreshActions","type":"button","value":""},{"deviceList":null,"multiple":false,"name":"dValues","type":"bool","value":"true"},{"deviceList":null,"multiple":false,"name":"hasAll","type":"button","value":""},{"deviceList":null,"multiple":false,"name":"cancelCapab","type":"button","value":""},{"deviceList":null,"multiple":false,"name":"origLabel","type":"text","value":"Update Lighting for Lux"},{"deviceList":null,"multiple":false,"name":"RelrDev_1","type":"enum","value":"="},{"deviceList":null,"multiple":false,"name":"eraseRule","type":"button","value":""},{"deviceList":null,"multiple":false,"name":"rCapab_12","type":"enum","value":"Mode"},{"deviceList":null,"multiple":false,"name":"dimLA.6","type":"number","value":"44"},{"deviceList":null,"multiple":false,"name":"ReltDev4","type":"enum","value":"changed"},{"deviceList":null,"multiple":false,"name":"onOff.8","type":"bool","value":"false"},{"deviceList":null,"multiple":false,"name":"delete","type":"enum","value":null},{"deviceList":null,"multiple":false,"name":"isDev_15","type":"bool","value":"false"},{"deviceList":{"96":"Lux Tempurature Humidity Sensor"},"multiple":true,"name":"tDev4","type":"capability.illuminanceMeasurement","value":null},{"deviceList":null,"multiple":false,"name":"actType.10","type":"enum","value":""},{"deviceList":null,"multiple":false,"name":"actType.12","type":"enum","value":"condActs"},{"deviceList":null,"multiple":false,"name":"actType.11","type":"enum","value":"condActs"},{"deviceList":null,"multiple":false,"name":"actType.14","type":"enum","value":""},{"deviceList":null,"multiple":false,"name":"actType.13","type":"enum","value":"switchActs"},{"deviceList":null,"multiple":false,"name":"ending2","type":"enum","value":"Sunset"},{"deviceList":null,"multiple":false,"name":"actType.16","type":"enum","value":""},{"deviceList":null,"multiple":false,"name":"startSunriseOffset2","type":"number","value":"30"},{"deviceList":null,"multiple":false,"name":"actType.15","type":"enum","value":"switchActs"},{"deviceList":null,"multiple":false,"name":"actionCancel","type":"button","value":""},{"deviceList":null,"multiple":false,"name":"actType.17","type":"enum","value":""},{"deviceList":null,"multiple":false,"name":"RelrDev_15","type":"enum","value":"<"},{"deviceList":{"18":"Gym Light","7":"Living Room North Light"},"multiple":true,"name":"dimA.6","type":"capability.switchLevel","value":null},{"deviceList":null,"multiple":false,"name":"comments","type":"textarea","value":""},{"deviceList":null,"multiple":false,"name":"endSunriseOffset2","type":"number","value":""},{"deviceList":null,"multiple":false,"name":"editST","type":"button","value":""},{"deviceList":null,"multiple":false,"name":"state_1","type":"enum","value":"false"},{"deviceList":null,"multiple":false,"name":"onOff.15","type":"bool","value":"false"},{"deviceList":null,"multiple":false,"name":"onOff.13","type":"bool","value":"true"},{"deviceList":null,"multiple":false,"name":"starting2","type":"enum","value":"Sunrise"},{"deviceList":null,"multiple":false,"name":"rCapab_2","type":"enum","value":"Between two times"},{"deviceList":null,"multiple":false,"name":"cancelST","type":"button","value":""},{"deviceList":null,"multiple":false,"name":"rCapab_1","type":"enum","value":"Variable"},{"deviceList":{"96":"Lux Tempurature Humidity Sensor"},"multiple":true,"name":"rDev_15","type":"capability.illuminanceMeasurement","value":null},{"deviceList":null,"multiple":false,"name":"dimRA.6","type":"number","value":""},{"deviceList":null,"multiple":false,"name":"dimRA.3","type":"number","value":""}],"subscriptions":[{"handler":"stHandler","name":"variable:Sleep","type":"LOCATION","typeId":1,"typeName":"931 Wendell Ave","filter":"false"},{"handler":"afterSunriseHandlerST","name":"sunrise","type":"LOCATION","typeId":1,"typeName":"931 Wendell Ave","filter":"false"},{"handler":"beforeSunsetHandlerST","name":"sunsetTime","type":"LOCATION","typeId":1,"typeName":"931 Wendell Ave","filter":"false"}]}}}