Legal system and development of legislation