Rules for pipelines and type definitions