Added stub of expand_apply_rule