If you hook up travis I'll write tests for the peril rules. There is some overlap in what I'm already doing