decoding for monitoring rules