extraction of rational package