session: remove redundant rules