rules: Move rule construction into NewRule.

Use NewRule to parse the components of a rule, not the Manager code.