Added name to rule output, pass first inline test

Change it back if you want, but we need this right now. We’re likely to
go back and forth on the error code names for the next couple weeks,
and in the meantime a lot of people need this. I also need it for my
tests, to make sure the outputs match my expectations. Bam.