Added ruleset and key