The Secretary shall prescribe such regulations as the Secretary determines necessary for granting leaves of absence to veterans pursuing rehabilitation programs under this chapter. During authorized leaves of absence, a veteran shall be considered to be pursuing such program.