Update rules to include the whole content frame