My understanding is that the rams were moved from the Apistogramma genus to a seperate genus Microgeophagus, (I'd like to know why, behavior, genetics, etc.?) both are in the family cichlidae, which is in the order perciformes (perch-like fishes), which is in the class Actinopterygii (ray finned fishes). Like most taxonomy it is always changing as more information is gathered, but it is interesting to see how things are classified.