Prototype for IoT rules