Add bbcode to rule editor