Update reward and rule type
Add beans api 1.2