Setup object for the preprocessing steps.

Docs and some tests too.
Add description.
Docs and some tests for Datarule Resources.

Also fixed up the API calls for creating the data rules.
Test found this was packing a BOOL wrong.
Use the preprocess class in dataports too.
Dataport resource docs, and fixes

Add missing public param and fix the test for the preprocess.