Moved Pool rules namespace back to Java code

Still a little cleanup left to be done here, but it
is good for now. Just want to make sure that we pull
it out before end of sprint.