Fail on a rule violation Copy shapes definition to output file