rules for  following pipes-bytestring