Implemented rank selector widget

The rank selector displays the rank and allows changing the rank of each statement.

Change-Id: I7caadcd0189bc492c7f55766186231299fb833b1