ChemRICH for any set definition