update RuleSet.java and add a new constructor to Turn.java