Correct HasVersion rules to use `matchtask`

Fix #16 properly.