solved bug:
	double variable was remained on header of AD rule.
	changed "double" into "real_t"