Mostly cleaning, adding some pool unit tests, duplicate variables in rules no longer tolerated.