@Override
	public void encode(Encoder encoder) throws IOException {
		encoder.openElement(ELEM_DATATYPE);
		String meta = PcodeDataTypeManager.getMetatypeString(metaType);
		encoder.writeString(ATTRIB_NAME, meta);
		encodeAttributes(encoder);
		encoder.closeElement(ELEM_DATATYPE);
	}
Copy constructor
@param op2 is the filter to copy
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/lang/protorules/MetaTypeFilter.java