Handling was only allowed " when a player catches the ball directly from the foot " entitling them to a free kick and there was a primitive offside rule , disallowing players from " loitering " around the opponents ' goal .