Implemented a simple card select rule handler, needs more work.