Changed the thermostat home url to /thermostat
fixed a bug with rules conditionals parsing