Templates would also be nice for rule tests and the rules themselves.