Simplified Ruling#intersection_point, moved code around