The Data of the different family trees can be manipuled by “FamilyGroups” which distinguish the unrelated groups. "_RelatedPersons" is the new General filter for " Matches people with related home-person "
On root, . Copy "_RelatedPerson" in gramps/Filters/rules/Person . AND . Modify the "__init__.py" in gramps/Filters/rules/Person . add two lines ..... from _RelatedPersons import RelatedPersons (first party) ..... RelatedPersons, (second party) . and test the unrelated groups for filtering or exporting ( Matches people with related home-person )