minor bug fix in base case of rules.countLiberties