· Super Moderator
That would be the breather hose, which draws filtered air from the airbox into the crankcase. It should connect to somewhere such as a valve cover that is in communication with crankcase air. The 'greasy foam rubber' is probably a filthy, never-changed breather filter (which should be changed every couple of years). It should not be left disconnected.