Got a similar problem (also mentioned on another thread with a different rule).
If user is active (=1) rule works: access granted
If user is not active (=0) rule works: access denied, redirect to login-page, error message shows up on login-page
If I call the login page without submitting the login form, the error message shows up
I've installed version 2.0.4