updated ajax rules with new ones