add rank method to Hand