The Generalized van der Waals Partition Function as a Basis for Equations of State: Mixing Rules and Activity Coefficient Models