Fix promotion rules attr_accessible. [Fix #12]