admin - bug fix

Encoding on the rules saving was wrong.