Java based SQLite DB Business Rule Engine