Converted open/close rules. Implemented silent flag on message sending.