add rules dependency