Implemented rules, loaded from database