Eric wrote up a (long) intro to writing UDL definitions a while back on his blog: