update

add rule type feild