Changed hierarchy of classes

- Model now extends NamedElement
Add stub method and error for DataType rule