The main goal of this change is to make it much easier to track which rules are actually covered by Testgen'erated regression tests.
Originally part of the larger https://reviews.llvm.org/D43962 ([GlobalISel][utils] Adding the init version of Instruction Select Testgen) patch, extracted as to make it smaller and more targeted.
Partially reviewed by @dsanders within the patch mentioned.