Add support for anywhere rules