Add rate model
add process rating function