Capital and credit ratings