add rule for cp-control class
fixed issue in "prepare" function
Merge pull request #14 from tsapeta/0.2.x

merge 0.2.x into 0.3.x