title: YAML object properties
body: <p>I am defining code review configuration in YAML. I need to keep the config as compact as possible without explicitly defining xml/json like name value pairs.</p>
  
  <pre><code>- group: Naming convention
    severity: medium
    rules:
     - name: Check API naming convention
       type: pattern
       element: api.@name
       pattern: '.*\-.*\-\d\.\d'
       properties:
        - exit-on-fail
        - skip-and-proceed
        - etc.
  </code></pre>
  
  <p>What I don't like here is defining the tag "properties" to add the actions. Can the actions exist at the object level?</p>