Make 'output' optional and fix 'matchParent' option ignoring rules without parent