fix some rules in the ruleset. #37