Make RuleSet#levelOf method more open.