added some simple type declaration rules
added generated files