[Test] Adds a test that all default rules are OK

If we defines default rules in our rules.xml file, but they
are not properly serializable, we'll end up throwing exceptions
at runtime. Let's catch that in the tests.

Change-Id: Iad75ea731afd46b6a55839707397f8565c00f86b