Rules Integer in User Id

Hello, i thinks this is the best way to validate user id. Only accept intenger