I have dataframe df_pattern containing pattern(rules):
df_pattern = pd.DataFrame({\'SiteId\': [4, 5, 6, 7, 8], \'ZoneId\': [1, 1, 1, 2, 2]})