Failing code requirements, the rules you should follow are the ones the manufacturer sets for it's product. UV exposure is probably an issue at the least. Not to mention a trip hazard, mowing over it, animals chewing on it, lot's of issues to consider. Your existing line probably has a date code on it somewhere, if you find it then you can make an educated guess how long it's been in use and you already know it's leaking.