Cubic rare-earth compounds: variants of the three-state Potts model