TestGLM strong rules are in.

this code needs a bunch of refactoring.