Fleshed out IStackRule and created a Solitaire test.