added non-uniform sampling for cheapfrontier.  fixed rules grouping bug that only saved one alt rule