Added a sample pdl constraint file
Added python code to generate constraints