Fixed a rather serious bug regarding rules, also simplified take-only rules and thus the move finding code