Update SensorDataRule.php