User mailfilters with scrips?

Hello all

I’m looking at ways letting users set up their own mail filters for rt
to do very simple things like set the queue or the priority when a
string is matched, but I don’t want to give users all the power of
scrips (or even all the power of regexes). Does anyone have any
suggestions for either A) limiting the power of scrips and what people
can do with them, or B) another way of allowing users to filter their
own mail?