[Cosmetics] Make a list immutable.

The list of rules that the QueryLoader returns should be immutable.
This way we're guaranteed that nobody messes with it.

Change-Id: I28d0d0b2edf633ab2e3b0697258e2322a8a72c6b