Generalized Calogero–Moser systems from rational Cherednik algebras