def create_blueprint(self):
self.register_plugins()<EOL>self.blueprint = Blueprint(<EOL>self.name,<EOL>"<STR_LIT>",<EOL>url_prefix=self.prefix,<EOL>template_folder=self.template_folder,<EOL>static_folder=self.static_folder,<EOL>static_url_path=self.static_url_path<EOL>)<EOL>for url, name, methods, instance in self._urls:<EOL><INDENT>self.blueprint.add_url_rule(<EOL>url,<EOL>view_func=self.view_maker(name, instance),<EOL>endpoint=_plugin_endpoint_rename(name, instance),<EOL>methods=methods<EOL>)<EOL><DEDENT>for url, name, methods, instance in self._semantic_url:<EOL><INDENT>self.blueprint.add_url_rule(<EOL>url,<EOL>view_func=self.view_maker(name, instance),<EOL>endpoint=_plugin_endpoint_rename(name, instance)+"<STR_LIT>",<EOL>methods=methods<EOL>)<EOL><DEDENT>self.register_assets()<EOL>self.register_filters()<EOL>self.__templates_namespaces__.extend(self.__instance_templates__)<EOL>for namespace, directory in self.__templates_namespaces__[::-<NUM_LIT:1>]:<EOL><INDENT>if namespace not in self.__template_loader__:<EOL><INDENT>self.__template_loader__[namespace] = []<EOL><DEDENT>self.__template_loader__[namespace].append(<EOL>jinja2.FileSystemLoader(op.abspath(directory))<EOL>)<EOL><DEDENT>self.blueprint.jinja_loader = jinja2.PrefixLoader(<EOL>{namespace: jinja2.ChoiceLoader(paths) for namespace, paths in self.__template_loader__.items()},<EOL>"<STR_LIT>"<EOL>)<EOL>if self.cache is not None:<EOL><INDENT>for func, instance in self.cached:<EOL><INDENT>setattr(instance, func.__name__, self.cache.memoize()(func))<EOL><DEDENT><DEDENT>return self.blueprint<EOL>
Create blueprint and register rules

        :return: Blueprint of the current nemo app
        :rtype: flask.Blueprint