Support conversion of the custom matcher DSL

This closes #30.