Exploring Legal Rules and Agreements