Write untested run rules as data (strings).

This comes with some changes in design as well.