You are not breaking the rule if like what Baronz said, its a button that links to another page. However if its just for display purpose or graphical cue then its confusing to the user.
If you made the icon to look exactly like a button in terms of shape, size and color (for your case even the dropshadow effect), then user will perceive that they behave the same way. At first glance without reading your description, I thought so too it is a button.
A few suggestions, you might want to remove the drop shadow or change the color of the icon to differentiate it from clickable elements. Perhaps you could try using gray color for the icon.