fix last_rule func so user1 identification is bassed on passed in account