README: add instructions for writing your own patterns