Gaming the system
Using a system's rules for personal gain in a way they were not meant to be used. The phrase shows how wary people are of games.
From McGonigal, 2011, ch. 1. McGonigal, J. (2011). Reality is broken: why games make us better and how they can change the world. New York: Penguin Press. ISBN 978-1-59420-285-8 (hardcover). (The copy is an e-book whose text file has no copyright page; its file identifier is 9781101475492, not matched in Open Library. No DOI.)