This method is used in conjunction with the rule instantiation mechanisms. It will determine whether or not additional type imports are required for an extensible rule class, for example, the InitRule. These imports are required because we have to use the basic DmcObject mechanisms to add the values for the attributes to the extensible object.
This method also provides basic must/may checking of the specified attributes and will throw an exception for unknown attributes on a structural class.
@param imports where we'll add the required imports.
@param uco the rule data object.
@throws ResultException