There are no rules for this.

The Census Bureau was more inclined to define people the way they defined themselves rather than impose a label.

So you have Latina and Latino. You don't have that with Hispanic.