common interface for fragement rule and rules