The most likely point is after the Glorious Revolution. A lot got officially laid down at the time, and it's not hard to imagine a legal equivalent of the Domesday book put together so that the foreign king and his Parliament know where each other stand.