Agricultural structure and farmers’ interconnections with rural communities