Define two phenyl ring in one group

GROMACS version:
GROMACS modification: Yes/No
Here post your question
I’m going to calculating intermolecular RDF for two separate dications having pi-pi interactions. Each dication have two same rings. How can I define two rings of one dication in index.ndx file? Does anyone have experience about this?