added an abstract shr5 rule generator 
in preparation of other shr5 generators like a build point one
extracted the basic constrains
also added some of the missing basic constrains