Creating models for legislation