add new class JpaRule to setup database utilities