Synchronize code from oslo

Use commit 8d0228837c40c02d93d80ae0a179275ac2d7f277
Merge "Break out common functionality for filters and weights"
(Fri May 17 12:12:40 2013 +0000)

Change-Id: Ib2ec8ff64e036a07fad2a38319a9a4c40a698898
Signed-off-by: Shane Wang <shane.wang@intel.com>
Merge "Synchronize code from oslo"