def get_admission_rules(data, scope):
    """Get admission control rules."""
    args = {}
    if scope == 'fed' or scope == 'local':
        args["scope"] = scope
    rules = data.client.show("admission/rules", "rules", None, **args)  # show(self, path, obj, obj_id, **kwargs)
    return rules