preprocess PRORULEs to add REGTEXT