updated ruleset lab1