collectRuleset: allow whitespace in ruleset names

fixes #344