Ok. If you know SKILL it should be a "simple" task .
Basically, as you said, is a text file where the rules are defined and, by some particular layout geometry checking routines, are verified or not in the DRC...
Did you search within the forum if there is any file to be used as "template" or starting point?