Fixed some problems generated by the GainingHandler improvement (changes in CardRulesHandler)