add Rule class
add Declaration class
update Declaration class