#40 cleanup resolution of type names
#44 add a mojo to export rules