Work in progress for ruleset.