LEDA: a Knowledge Based System for Legislative Design