add a restriction on a RECEIVE to a certain state
cache a state test using a string to avoid unnecessary lookgups
update test to cover the RECEIVE..WITHIN syntax
modbus updates for the sending and receiving strings (more to do)