[Libguestfs] [PATCH 3/3] inspection: Add unit tests of the rules compiler.