Advanced packaging: Create your own packaging rules Create your own packaging rules. Package and deploy rules (desktop) A platform includes a package rule and a deploy rule. These rules are the commands used to create and deploy a package file. Package and deploy rules (mobile) A platform includes a package rule and a deploy rule. These rules are the commands used to create and deploy a package file.