Hybridization and magnetism in U(Ru, Rh)X, X=Al, Ga