adding rule to common lib