Fix isCardGreater in Rules