class Device:
    def __init__(self, device_id, state_type, value_range):
        self.device_id = device_id
        self.state_type = state_type
        self.range = value_range

    def build_rule(self):
        raise NotImplemented
