Transformed looprules into finishrules.