Small tweak to only use new defs search rules if ONLY the defs field is populated, as per tarzanek's concerns