def get_rules(kind):
    if kind == '.css':
        return Bunch(
            final_filter = ["yui_css", get_filter('cssrewrite', replace=proxied)],
            compilers = {".scss": "pyscss"},
            kwargs = defaultdict(dict)
        )
    elif kind == '.js':
        return Bunch(final_filter="yui_js", compilers={".coffee": "coffeescript", ".jst": "register_jst"},
                     kwargs=defaultdict(dict))
    raise RuntimeError("unknown bundle kind: %s" % (kind,))
dataset/ETHPy150Open fusic-com/flask-todo/backend/assets.py/get_rules/original