Added ProcessRule to get rid of boilerplate code in tests.