Added showRowTypes option to RulesTest & fixed bug in TypesResolver