added declareGraphicsRule example
merging