stack2rules
