Add tests for rule numbers 22, 30, 130