Moved rule hint api and remember me function to framework