Reordered the Rule checking so it occurs while handling the data. This removed the bug where a rule whose trigger was a card would execute even if it was not properly set down on the pile