Rule selection invariance as a robustness check in collective choice and nonparametric statistical settings