Adds rule support.