Add value encoding rules