There will not really be any safe way to attach a rubber hose to that nylon hose. Assuming that is the high pressure fuel feed to the engine
Although you may be able to get fittings you can fit into the nylon hose to allow different adaptations, these also require special tooling to use. Typically the nylon is 8mm OD line, but obviously you need to measure