move rules to root