Fix RuleSet incorrect functionality

It has been determined that part of the functionality that the
SingleRuleSet and KingRuleSet classes have implemented is incorrect,
and needs to be fixed.