message: Corrected state proof verification for get auth rule request
diff: @@ -320,6 +320,10 @@ fn _parse_reply_for_builtin_sp(json_msg: &SJsonValue, type_: &str, key: &[u8]) -
  trace!("TransactionHandler::parse_reply_for_builtin_sp: Data is object");
  (Some(json_msg["data"].to_string()), SJsonValue::from(map.clone()))
  }
  + SJsonValue::Array(ref array) => {
  + trace!("TransactionHandler::parse_reply_for_builtin_sp: Data is array");
  + (Some(json_msg["data"].to_string()), SJsonValue::from(array.clone()))
  + }
  _ => {
  trace!("TransactionHandler::parse_reply_for_builtin_sp: <<< Data field is invalid type");
  return None;
  @@ -571,8 +575,12 @@ fn _parse_reply_for_proof_value(json_msg: &SJsonValue, data: Option<&str>, parse
  value["val"] = parsed_data.clone();
  }
  constants::GET_AUTH_RULE => {
  - match parsed_data.as_object().and_then(|data| data.values().next()) {
  - Some(ref x) => value = x.clone().clone(),
  + let constraint = parsed_data
  + .as_array()
  + .and_then(|data| data.first())
  + .map(|auth_rule| auth_rule["constraint"].clone());
  + match constraint {
  + Some(ref x) => value = x.clone(),
  None => return Ok(None)
  };
  }
  