MT#6195 API: ability to handle rules directly in rewriteruleset

wip