the green-clad riflemen were specially trained by captain ferguson in both the operation and maintenance of their ferguson rifles , as well as in the fine art of marksmanship , of which captain ferguson was an expert .