Creating a deploy rule