A symbolic distributed event detection scheme for Wireless Sensor Networks