<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def make_ring_dicts(**kwargs):
 """Build and return the information about the Galprop rings """

    library_yamlfile = kwargs.get('library', 'models/library.yaml')
    gmm = kwargs.get('GalpropMapManager', GalpropMapManager(**kwargs))
    if library_yamlfile is None or library_yamlfile == 'None':
        return gmm
    diffuse_comps = DiffuseModelManager.read_diffuse_component_yaml(library_yamlfile)
    for diffuse_value in diffuse_comps.values():
        if diffuse_value is None:
            continue
        if diffuse_value['model_type'] != 'galprop_rings':
            continue
        versions = diffuse_value['versions']
        for version in versions:
            gmm.make_ring_dict(version)
    return gmm