def _create_url_rule(func):
    """Creates the URL rule for a function.

    :param function func:
        The MicronMethod to create the route for.

    :returns:
        The URL rule: "/<function name>"
    """
    name = func.__name__.split('.')[-1]
    return '/' + name