Added message encoding rules for quick mode