Allow creating RuleSets from arrays.