LSBench rules and queries (Currently all rules also in queries file,
until we can work out local imports).