Rules for Encodes in an Output