Added a check to see if there are any rulings for a card.

Fixes #56.
Merge branch 'index-error-fix' into object-oriented