you can use Network-Based Application Recognition (NBAR) to match against more complex or dynamic fields. you have to use this command inside class map:
switch(config)#class-map [class-name]
switch(config-cmap)#match protocol [protocol-name]
and enter the protocl name that you want.
and then implement policy-map, and assign it to interface.