Add a funding rules UI

For #1063 

This is still very much a work in progress. Just wanted to get it off of my local machine and out into the fresh air.