Get rid of redundant variable variantRules.movesCount