Split rule view.
Move large classes to their own files.