add a deploy script
add deploy rules