Example business rule scripts

Find an example business rule script that helps you with a requirement of your organization.