BUGFIX - avoid error when there are no representations of an object.

+ Simple if() wrapper to ensure the representations exist before iterating, this
  avoids "invalid foreach() parameter" errors
Remove boilerplate rules

+ These were only temporary so they are being removed
+ The default ruleset is empty
+ The test rules will be in the integration test's config file
Rename variable for correct naming conventions.
WIP integration test

+ Complete setUp() / tearDown() cycle including *most* referenced records
+ Use a configuration template and process it to the final configuration file
+ Ignore the processed configuration file for integration test, it is generated