Add basic ruleset support, fixes #30