Implement additional rule extract function to avoid extraction of variables declared with the specifier register.