modify iframe rules